import request from '@/utils/request'

// 查询年度学校各专业录取分数详情列表
export function listSchoolMajorYearAdmissionDetail(query) {
  return request({
    url: '/system/schoolMajorYearAdmissionDetail/list',
    method: 'get',
    params: query
  })
}

// 查询年度学校各专业录取分数详情详细
export function getSchoolMajorYearAdmissionDetail(id) {
  return request({
    url: '/system/schoolMajorYearAdmissionDetail/' + id,
    method: 'get'
  })
}

// 新增年度学校各专业录取分数详情
export function addSchoolMajorYearAdmissionDetail(data) {
  return request({
    url: '/system/schoolMajorYearAdmissionDetail',
    method: 'post',
    data: data
  })
}

// 修改年度学校各专业录取分数详情
export function updateSchoolMajorYearAdmissionDetail(data) {
  return request({
    url: '/system/schoolMajorYearAdmissionDetail',
    method: 'put',
    data: data
  })
}

// 删除年度学校各专业录取分数详情
export function delSchoolMajorYearAdmissionDetail(id) {
  return request({
    url: '/system/schoolMajorYearAdmissionDetail/' + id,
    method: 'delete'
  })
}
